package com.jltx.xq.simplewatch.news.model.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.Expose;

import java.util.List;

/**
 * @author jltxseo
 *         Created by junlintianxia on 2017/09/08.
 */

public class TopicNewsVideoResponse {

    @Expose
    public int retCode;

    @Expose
    public String retDesc;

    @Expose
    public DataBean data;

    @Expose
    public boolean succ;

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public static class DataBean{
        @Expose
        public String text;

        @Expose
        public VideoBean video;

        public static class VideoBean{

            @Expose
            public List<LinkBean> link;

            @Expose
            public List<DownloadBean> download;

            public static class LinkBean {
                /**
                 * url : http://v1.365yg.com/2c8813620fc24e51f1975eb7e875911a/596779e7/video/m/2205c620ddfa26a4916a0a720929c711c1c114ab6600002345a6997e04/#mp4
                 * buttonText : 极速(360p)视频地址1
                 * type : 极速(360p)
                 */
                @Expose
                public String url;

                @Expose
                public String buttonText;

                @Expose
                public String type;
            }

            public static class DownloadBean {
                /**
                 * url : http://v1.365yg.com/2c8813620fc24e51f1975eb7e875911a/596779e7/video/m/2205c620ddfa26a4916a0a720929c711c1c114ab6600002345a6997e04/#mp4
                 * buttonText : 极速(360p)视频地址1
                 * type : 极速(360p)
                 */
                @Expose
                public String url;

                @Expose
                public String buttonText;

                @Expose
                public String type;
            }

        }
    }
}
